package com.company;

public class Hero {
    private int heroId ;
    private String name;
    private double damage;

    public int getHeroId() {
        return heroId;
    }

    public void setHeroId(int heroId) {
        this.heroId = heroId;
    }

    public String gerName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public double getDamage(){
        return damage;
    }

    public void setDamage(double damage){
        this.damage = damage;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "heroId=" + heroId +
                ", name='" + name + '\'' +
                ", damage=" + damage +
                '}';
    }
}
